package com.ruoyi.shop.service;

import java.util.List;
import com.ruoyi.shop.domain.Shopkeeper;


/**
 * 商家管理Service接口
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public interface IShopkeeperService
{
    /**
     * 查询商家管理
     *
     * @param shopid 商家管理主键
     * @return 商家管理
     */
    public Shopkeeper selectShopkeeperByShopid(Long shopid);

    /**
     * 查询商家管理列表
     *
     * @param shopkeeper 商家管理
     * @return 商家管理集合
     */
    public List<Shopkeeper> selectShopkeeperList(Shopkeeper shopkeeper);
    public List<Shopkeeper> selectShopkeeperGoodsList(Shopkeeper shopkeeper);
    public List<Shopkeeper> selectShopkeeperWithCategories(Shopkeeper shopkeeper);

    /**
     * 新增商家管理
     *
     * @param shopkeeper 商家管理
     * @return 结果
     */
    public int insertShopkeeper(Shopkeeper shopkeeper);

    /**
     * 修改商家管理
     *
     * @param shopkeeper 商家管理
     * @return 结果
     */
    public int updateShopkeeper(Shopkeeper shopkeeper);

    /**
     * 批量删除商家管理
     *
     * @param shopids 需要删除的商家管理主键集合
     * @return 结果
     */
    public int deleteShopkeeperByShopids(Long[] shopids);

    /**
     * 删除商家管理信息
     *
     * @param shopid 商家管理主键
     * @return 结果
     */
    public int deleteShopkeeperByShopid(Long shopid);
}
